package models

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ FriendGroupModel = (*customFriendGroupModel)(nil)

type (
	// FriendGroupModel is an interface to be customized, add more methods here,
	// and implement the added methods in customFriendGroupModel.
	FriendGroupModel interface {
		friendGroupModel
	}

	customFriendGroupModel struct {
		*defaultFriendGroupModel
	}
)

// NewFriendGroupModel returns a model for the database table.
func NewFriendGroupModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) FriendGroupModel {
	return &customFriendGroupModel{
		defaultFriendGroupModel: newFriendGroupModel(conn, c, opts...),
	}
}
